### Image Size & Memory Requirements

All supported images can have up to 3 Mbytes of volatile memory per WML file. The image width and height must be smaller than or equal to 297x138 pixels. Larger images are reduced to 297x128 pixels or not rendered at all, in which case alternate text displays instead.

The browser processes images successfully as long as the upper limit of 3 Mbytes is not reached. The browser checks for sufficient memory as image processing starts. If sufficient memory to process the entire image is not found, the alternate text for the image displays instead of the actual image. For example, there are ten images, the first four of which use 1.5 Kbytes. But the fifth image is 2.0 Mbytes, and the browser does not have sufficient memory to process that image. The browser will continue to process the next image if sufficient memory for that is available. The browser displays a page with first four images, then an image for which the alternate text is displayed, followed by the sixth image and so on. Alternate text is displayed only for those images where:

- the browser could not successfully parse the image file because of memory limitations,
- the image could not be found on the server (404 error), or
- the image file is corrupted.

When an image tag exists inside a <do> tag, and it results in a failed attempt to retrieve the image through http, the <do> tag’s label attribute value (text) displays on the softkey label.